﻿@{
    Layout = null;
}
@using UnityWeb.HtmlHelpers
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Northern Trust</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="@Url.Content("~/Content/normalize.min.css")">
    <link rel="stylesheet" href="@Url.Content("~/Content/main.css")">
    <link rel="stylesheet" href="@Url.Content("~/Content/dashboard.css")">
    <link rel="stylesheet" href="@Url.Content("~/Content/themes/base/jquery.ui.autocomplete.css")">
    <link rel="stylesheet" href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")">
    <script src="@Url.Content("~/Scripts/modernizr-2.6.2.min.js")" type="text/javascript"></script>
</head>
<body>
    <!--[if lt IE 7]>
    <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
    <header>
        <!-- LOGO -->
        <h1 class="floatleft">
            @Html.ActionImage(@Url.Action("Index", "Dashboard", new { }), @Url.Content("~/Images/assets/logo.png"), "Unity")
        </h1>
        <!-- NAV -->
        <nav class="floatright">
      <ul>
        <li>@Html.ActionLink("HOME", "Index", "Dashboard")</li>
          <li><a href="https://daweb.dstoutput.co.uk/">eLIBRARY</a></li>
          @Html.BeginDiv("Admin,dstadmin")
          <li>
          <a href="#">REPORTS</a>
          <ul>
            @Html.BeginDiv("Admin,dstadmin")
            <li>@Html.ActionLink("User", "Index", "UserReports")</li>
            <li>@Html.ActionLink("Kpi", "Index", "KpiReports")</li>
            @Html.EndDiv()
          </ul>
        </li>
          @Html.EndDiv()
          @Html.BeginDiv("Admin,dstadmin,Governor")
          <li>@Html.ActionLink("OTF's", "Index", "Otf")</li>
          @Html.EndDiv()
          @Html.BeginDiv("Admin,dstadmin")
          <li>@Html.ActionLink("ADMINISTRATION", "Index", "Admin")
              <ul>
                  @Html.BeginDiv("dstadmin")
                  <li>@Html.ActionLink("Manage Applications", "Index", "Application")</li>
                  <li>@Html.ActionLink("Manage Document Types", "Index", "DocType")</li>
                  <li>@Html.ActionLink("Manage Sub Document Types", "Index", "SubDocType")</li>
                  <li>@Html.ActionLink("Manage Management Companies", "Index", "ManCo")</li>
                   @Html.EndDiv()
                  <li>@Html.ActionLink("Manage Auto Approvals", "Index", "AutoApproval")</li>
                  <li>@Html.ActionLink("Manage Users", "Index", "User")</li>
                  @Html.BeginDiv("dstadmin")
                  <li>@Html.ActionLink("Manage News Ticker", "Edit", "NewsTicker")</li>
                  @Html.EndDiv()            
              </ul>
          </li>
          @Html.EndDiv()
          <li><a href="#">MY UNITY</a>
              <ul>
                  <li>@Html.ActionLink("Security Settings","Index","Security")</li>
              </ul>
          </li>
        <li><a href="http://chat.nexdox.com/">CHAT</a></li>
          @Html.BeginDiv("Admin,dstadmin,Governor")
          <li id="cart">@Html.Action("Summary", "CartItem")</li>
          @Html.EndDiv()
      </ul>
    </nav>
        <!-- LOGGED IN INFORMATION -->
        <div class="floatright">
            <div class="strap">
                @Html.Action("Summary", "Account")
            </div>
        </div>
    </header>
    <!-- USER & ERROR -->
    <div class="col960">
        <div class="usererror">
            <div class="col9 floatleft">
                <div class="error">
                    <p>Update: Unity will be unavailable this Saturday 1st Febuary 2013 from 09:00 until 11:00 for upgrade work</p>
                </div>
            </div>
            @Html.Action("Index", "Environment")
            <div class="clearfix"></div>
        </div>
    </div>
    <!-- MAIN BODY -->
    <div class="col960">
        <div class="main">
            <!-- Content -->
            <div class="content">
                <!-- Grid Search -->
                <div class="gridsearch">
                    @Html.Action("Index", "QuickSearch")
                    <section class="col4 floatright">
                        <button class="filterbtn floatright noclear">SEARCH</button>
                    </section>
                </div>
                <div class="clearfix"></div>
                @Html.Action("Index", "Search")
                <div class="clearfix"></div>
                <h2>
                    Sorry, an error occurred while processing your request.
                </h2>
            </div>
        </div>
    </div>
    <footer>
        <p class="txtright">
            <img src="@Url.Content("~/images/assets/dst.png")" alt="DST Output" />&nbsp;&nbsp;&nbsp;&nbsp;<img src="@Url.Content("~/images/assets/nt.png")" alt="Northern Trust" />
        </p>
    </footer>
    <script src="@Url.Content("~/Scripts/jquery-2.0.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.corner.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/main.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/scripts/jquery-ui-1.10.3.min.js")" type="text/javascript"></script>
</body>
</html>